package com.fkdx.service.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data()
@ApiModel(description = "用户实体类")
public class UserReq {

    /**
     *
     **/
    @ApiModelProperty(value = "用户ID")
    private Long id;

    /**
     * 手机号
     **/
    @ApiModelProperty(value = "手机号")
    private String phone;

    /**
     * 用户名
     **/
    @ApiModelProperty(value = "用户名")
    private String userName;

    /**
     * 用户密码
     **/
    @ApiModelProperty(value = "用户密码")
    private String password;
    /**
     * 用户密码
     **/
    @ApiModelProperty(value = "旧用户密码")
    private String oldPassword;

    /**
     * 用户姓名
     **/
    @ApiModelProperty(value = "用户姓名")
    private String name;

    /**
     * 角色ID
     */
    @ApiModelProperty(value = "角色ID")
    private Long roleId;

    /**
     * 仓库ID
     */
    @ApiModelProperty(value = "仓库ID")
    private Long warehouseId;


    /**
     * 积分
     **/
    @ApiModelProperty(value = "积分")
    private Integer integral;

    /**
     * 积分
     **/
    @ApiModelProperty(value = "积分")
    private Integer addIntegral;

    /**
     * 积分
     **/
    @ApiModelProperty(value = "积分")
    private Integer subIntegral;
    /**
     * 租户ID
     **/
    private Long tenantId;

    /**
     * 是否删除 1:否 0:是
     **/
    private Integer yn;
}
